package com.hqyj.service;

import com.hqyj.pojo.Goods;
import com.hqyj.pojo.Reserve;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

public interface ReserveService {
    HashMap<String, Object> select(Goods goods, HttpServletRequest request);

    Reserve selectById(Integer tId, Integer userId);

    int selectNumber(Reserve reserve);

    HashMap<String, Object> update(Reserve reserve);

    HashMap<String, Object> deleteReserveBytId(Reserve reserve);

    HashMap<String, Object> updateTableState(Reserve reserve);

    int selectUserIdByUserName(String userName);

    HashMap<String, Object> updateViewState(Goods goods);

    HashMap<String, Object> updateViewState1(Goods goods);
}
